﻿package mortal.game.view.levelReward.util
{

    public class LevelRewardUtil extends Object
    {

        public function LevelRewardUtil()
        {
            return;
        }// end function

        public static function getLevelRect(param1:int) : int
        {
            var _loc_2:int = 0;
            if (param1 >= 10 && param1 <= 20)
            {
                _loc_2 = LevelRewardConst.LevelType_Junior;
            }
            else if (param1 >= 25 && param1 <= 35)
            {
                _loc_2 = LevelRewardConst.LevelType_Middle;
            }
            else if (param1 >= 40)
            {
                _loc_2 = LevelRewardConst.LevelType_Senior;
            }
            return _loc_2;
        }// end function

    }
}
